Optimal light and shadows